package cn.mapper;

import cn.entity.MemberMsg;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface MemberMsgMapper{
    int deleteByPrimaryKey(Integer id);

    int insert(MemberMsg record);

    int insertSelective(MemberMsg record);

    MemberMsg selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(MemberMsg record);

    int updateByPrimaryKey(MemberMsg record);

    List<MemberMsg> selectByMemberId(@Param("memberId") Integer id);

    int deleteByMemberId(Integer memberId);
}